package org.edu.modules.stu.shet.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-社团活动管理
 */
@TableName("ve_stu_assoc")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="社团活动管理对象", description="ve_stu_assoc")
public class VeStuAssoc extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "社团类型 (模型协会、软件协会、旅游协会)")
        private Integer type;

    @TableField
    @ApiModelProperty(value = "社团名称")
    @Length(max = 50)
        private String name;

    @TableField
    @ApiModelProperty(value = "社团编号")
    @Length(max = 30)
        private String code;

    @TableField
    @ApiModelProperty(value = "成立目的")
    @Length(max = 100)
        private String clmd;

    @TableField
    @ApiModelProperty(value = "主要活动形式")
    @Length(max = 100)
        private String zyhdxs;

    @TableField
    @ApiModelProperty(value = "创始人")
    @Length(max = 30)
        private String csr;

    @TableField
    @ApiModelProperty(value = "批准部门")
    @Length(max = 100)
        private String pzbm;

    @TableField
    @ApiModelProperty(value = "社团性质")
    @Length(max = 50)
        private String stxz;

    @TableField
    @ApiModelProperty(value = "人数")
        private Integer rs;

    @TableField
    @ApiModelProperty(value = "当前负责人ID")
    @Length(max = 32)
        private String dqfzr;

    @TableField
    @ApiModelProperty(value = "")
    @Length(max = 255)
        private String dqfzrName;

    @TableField
    @ApiModelProperty(value = "负责人电话")
    @Length(max = 11)
        private String fzrPhone;
}
